import { ObjectDto } from "../../../services/sqliteDB/object.dto";
import { TableColumnType } from "../../../services/sqliteDB/object.dto";
import {SyncStatus} from "../../sync-status";

export class InspectionSysUserDto extends ObjectDto {
    public id: number = null;
    public name: string = null;
    public account: string = null;
    public syncStatus: SyncStatus = SyncStatus.None;

    constructor() {
        super();

    }

    table() {
        return {
            tableName: "InspectionSysUsers",
            tableConstructor: {
                id: `${TableColumnType.int} ${TableColumnType.unique}`,
                name: TableColumnType.text,
                account: TableColumnType.text,
                syncStatus: TableColumnType.int
            }
        };
    }

}



